import { createPinia } from 'pinia'
import useIframeStore from './modules/iframe'
import useAliveStore from './modules/keepAlive'
import useSystemStore from './modules/system'
import useViewTagStore, { ExtendedRoute } from './modules/viewTags'

const pinia = createPinia()

export { useIframeStore, useAliveStore, useSystemStore, useViewTagStore }
export type { ExtendedRoute }

export default pinia
